package cn.iocoder.yudao.module.infra.controller.admin.face.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 人脸检测 Base64 Request VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - 人脸检测 Base64 Request VO")
@Data
public class FaceDetectBase64ReqVO {

    @Schema(description = "配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "配置ID不能为空")
    private Long configId;

    @Schema(description = "人脸图片Base64", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "人脸图片不能为空")
    private String image;

    @Schema(description = "人脸字段", example = "age,beauty,expression,face_shape,gender,glasses,landmark,landmark150,quality,eye_status,emotion,face_type,mask,spoofing")
    private String faceField;

}